{% extends 'base.htm' %}
{% block title %}{{ forum.title }}{% endblock %}
{% block description %}{{ forum.description }}{% endblock %}
{% block keywords %}{{ forum.description }}{% endblock %}

{% block path %}
    <table width="100%" cellspacing="2" cellpadding="2" border="0">
    <tbody>
     <tr>
      <td class="nav" valign="bottom" align="left">
       <span class="nav" style="color: rgb(255, 102, 0);">
        <a class="nav" href="/">{{ forum.title }}</a>
        &raquo; 
        <a class="nav" href="">my profile</a>
       </span>
      </td>
      <td valign="middle" nowrap="nowrap" align="right">
      </td>
     </tr>
    </tbody>
    </table>
{% endblock %}

{% block main %}
    <form action="/myProfile" enctype="multipart/form-data" method="post">
    <table width="100%" cellspacing="0" cellpadding="0" border="0" align="center">
    <tbody>
     <tr>
     <td align="left">
     <span class="nav">
      <a class="nav" href="/">{{ title }}</a>
     </span>
     </td>
    </tr>
    </tbody>
    </table>
    <table class="forumline" width="100%" cellspacing="1" cellpadding="2" border="0">
     <tbody>
     <tr>
     <th class="thHead" valign="middle" height="25" colspan="2">{{ user }} &#20010;&#20154;&#36164;&#26009;</th>
     </tr>
     <tr>
      <td class="row1" width="40%">
       <span class="gen">&#21517;:</span>
      </td>
      <td class="row2">
       <input class="post" type="text" value="{% if name %}{{ name }}{% endif %}" maxlength="255" size="25" name="name" style="width: 200px;" />
      </td>
     </tr>
     <tr>
      <td class="row1">
       <span class="gen">&#22995;:</span>
      </td>
      <td class="row2">
       <input class="post" type="text" value="{% if lastName %}{{ lastName }}{% endif %}" maxlength="255" size="25" name="lastName" style="width: 200px;" />
      </td>
     </tr>
     <tr>
      <td class="row1">
       <span class="gen">&#26469;&#33258;:</span>      </td>
      <td class="row2">
       <input class="post" type="text" value="{% if from %}{{ from }}{% endif %}" maxlength="255" size="25" name="from" style="width: 200px;" />
      </td>
     </tr>
     <tr>
      <td class="row1">
       <span class="gen">&#20010;&#20154;&#20027;&#39029;: </span>
      </td>
      <td class="row2">
       <input class="post" type="text" value="{% if webpage %}{{ webpage }}{% endif %}" maxlength="255" size="25" name="webpage" style="width: 200px;" />
      </td>
     </tr>
     <tr>
      <td class="row1">
      <span class="gen">&#22836;&#20687;:</span>
      </td>
      <td class="row2">
       <input class="post" type="file" value="" name="avatar" style="width: 200px;" />
      </td>
     </tr>
     <tr>
      <td class="row1">
      <span class="gen">&#24403;&#25105;&#21457;&#26032;&#20027;&#39064;&#26102;&#32473;&#25105;&#21457;&#37038;&#20214;:</span>
      </td>
      <td class="row2">
       <input class="post" type="checkbox" value="true" name="mailing" {% if mailing %}checked="checked"{% endif %} />
      </td>
     </tr>
     <tr>
      <td class="catBottom" height="22" align="center" colspan="2">
       <input class="mainoption" type="submit" value="&#20445;&#23384;" name="submit"/>
       <input class="liteoption" type="reset" name="reset" value="&#37325;&#32622;"/>
      </td>
     </tr>
     </tbody>
    
    </table>
    </form>
{% endblock %}
